home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (3rd Edition)
/
The Business Master (3rd Edition).iso
/
files
/
utilstem
/
dosutil2
/
dpath.doc
< prev
next >
Wrap
Text File
|
1993-01-01
|
4KB
|
89 lines
DPATH gives programs a directory path search capability to
find data files and program overlays. This is especially
useful for hard disks so that copies of overlays for programs
such as WordStar need not be kept in each directory where
the program is used.
To use DPATH, download DPATH.BIN using XMODEM or another
binary file transfer protocol, and rename it to DPATH.COM.
Then type DPATH followed by a series of path names separated
by semicolons (the same syntax as used by the DOS 2.X PATH
command). The first time DPATH is typed after booting,
the message 'Resident part of DPATH loaded' appears and the
size of DOS increases by 544 bytes. After this, when a
program opens a file for reading, the file will be searched
for in the current directory. If it is not in the current
directory, it will be searched for in the directories
specified in the last DPATH command (in the order that they
were specified). Files that are opened for writing will
be opened in the current directory.
To set a new data path search, enter DPATH followed by a
new list of paths. Those new paths will replace the old
ones. If DPATH ; is entered, all search paths will be reset.
If DPATH is entered with no argument, the current search
paths are displayed.
Restrictions:
DPATH will work with most (but not all) programs that are
written to work under DOS 1.1. It will not work with
most programs that run only under DOS 2.X. Whether a
program works or not is determined by how it opens files
that it uses.
Programs that are known to work with DPATH:
1. WordStar (for overlays).
2. Computer Innovations C86 compiler (for #include
files).
Programs that are known not to work with DPATH:
1. IBM assembler (for include files).
David Micon 74216,2045
DPATH gives programs a directory path search capability to
find data files and program overlays. This is especially
useful for hard disks so that copies of overlays for programs
such as WordStar need not be kept in each directory where
the program is used.
To use DPATH, download DPATH.BIN using XMODEM or another
binary file transfer protocol, and rename it to DPATH.COM.
Then type DPATH followed by a series of path names separated
by semicolons (the same syntax as used by the DOS 2.X PATH
command). The first time DPATH is typed after booting,
the message 'Resident part of DPATH loaded' appears and the
size of DOS increases by 544 bytes. After this, when a
program opens a file for reading, the file will be searched
for in the current directory. If it is not in the current
directory, it will be searched for in the directories
specified in the last DPATH command (in the order that they
were specified). Files that are opened for writing will
be opened in the current directory.
To set a new data path search, enter DPATH followed by a
new list of paths. Those new paths will replace the old
ones. If DPATH ; is entered, all search paths will be reset.
If DPATH is entered with no argument, the current search
paths are displayed.
Restrictions:
DPATH will work with most (but not all) programs that are
written to work under DOS 1.1. It will not work with
most programs that run only under DOS 2.X. Whether a
program works or not is determined by how it opens files
that it uses.
Programs that are known to work with DPATH:
1. WordStar (for overlays).
2. Computer Innovations C86 compiler (for #include
files).
Programs that are known not to work with DPATH:
1. IBM assembler (for include files).
If you would like to have me upload the source, please
contact me.
David Micon 74216,2045